package ast.terminais;

import org.antlr.runtime.Token;

import ast.IVisitor;
import ast.Node;

public class Identifier extends Node{

	public Identifier(Token payload) {
		super(payload);
	
	}
	public String getId() {
			String aux= "";
			
			for (Object node : getChildren()) {
	            aux += node.toString();
				
				}
			
			return aux;
		}
	@Override
	public Object accept(IVisitor visitor, Object o) {

		return visitor.visit(this, o);
	}

}
